/**
 * Shopware 5
 * Copyright (c) shopware AG
 *
 * According to our dual licensing model, this program can be used either
 * under the terms of the GNU Affero General Public License, version 3,
 * or under a proprietary license.
 *
 * The texts of the GNU Affero General Public License with an additional
 * permission and of our proprietary license can be found at and
 * in the LICENSE file you have received along with this program.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * "Shopware" is a registered trademark of shopware AG.
 * The licensing of the program under the AGPLv3 does not imply a
 * trademark license. Therefore any rights, title and interest in
 * our trademarks remain entirely with us.
 *
 * @category   Shopware
 * @package    Shopware_Styling
 * @subpackage Forms
 * @version    $Id$
 * @author shopware AG
 */
table.#{$prefix}form-trigger-wrap {
	.#{$prefix}form-field {
		@include border-radius(3px 0 0 3px);
	}

	.#{$prefix}trigger-cell { width: 20px !important }

	/** Trigger style - Normal state */
	.#{$prefix}form-trigger {
		@include border-radius(0 2px 2px 0);
		@include single-transition(all, 200ms, ease-in);
		border-top: 1px solid #a6b0b7;
		border-right: 1px solid lighten(#a6b0b7, 10%);
		border-bottom: 0 none;
		background-position: 0 0;
		width: 20px; height: 23px;
		background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAWCAIAAACt/zAoAAAACXBIWXMAAAsTAAALEwEAmpwYAAABDUlEQVQ4y2P5/OXruw8fGUgB/xkYfvz8ycLBzi4sKMBAIvj37x8LCwszExM7qToZGRlZQLb/J1UjAxMTRCcD6VoZGFgYyLMUopMcfVCd5NtJgU7yXfsPWWjewsUz5y1iY2dnYmZhZGD4+/fv718/I4IDCnKzCNiZGBfLw8u/fP1Wdk5OIPfXjx++bo5ZKfG///z5/fsPis5/GM4NDvBl5+Jav2M/kO3n7pwcHfrr959fv38TFZ8+rk5MjExfvn1PigwGWvXr1y8s/vyHI4g8nO3Z2ViBVv34+YvkWMGqZ2BTwr9/5Kf4/4zYigxGGImcKxhhbLBOYOAyYpH8D2ajeeU/sp2iwoKkOvXP378A2Y+BxWSrsmwAAAAASUVORK5CYII=") no-repeat;
	}

	/** Trigger style - Hover state */
	.#{$prefix}form-trigger:hover {
		background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAWCAIAAACt/zAoAAAACXBIWXMAAAsTAAALEwEAmpwYAAABCklEQVQ4y2P5/OXruw8fGUgB/xkYfvz8ycLBzi4iJMhAIvj79y8LCwszEJGq8////yxA6t///6TqZGJkBOv8R7pOZrDOvyRrZGABI3LsZIDq/E+uzr/k20m2zj+oOqeu2Nq1Yh8jBy8jCxsDI+P/P7/+//ic7mVelRqK6dp/yEIZYZ7sghKdex4xcgmAIv3HpxxrieZou68//3z58ZuAP+OcDRi5hbtPfGZgYMywl2/21wTq+fT9N1EhFGUm85/x2Zff/1p81T//+P3h6y/C/oSDcGNJAS62j99/v/vyE8hlBOcSVJ1//+EKwDeff9AmPv/8+0euzr9k2/mXbDvJ9qeFiiip2v78/QsAyRmDrWsfg0MAAAAASUVORK5CYII=") no-repeat;
	}

	/** Trigger style - Active state */
	.#{$prefix}form-trigger:active {
		background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAWCAIAAACt/zAoAAAACXBIWXMAAAsTAAALEwEAmpwYAAABAklEQVQ4y2P5/OXruw8fGUgB/xkYfvz8ycLBzn7vwz8GEoGxvCgLCwszDyc7qTp5uLlYgBQLMxOpOhkZGSE6GRlIB2CdTExk6mRmIttO4vzJCI4PNNcy0t21aDqnr9zWvXI/IwcvIwsbMPj///n1/8fnVE+zypQQTJ0o/syJ9OEQlurc/ZCRSwCU1n58yrGWaI62+/7r79effwj4M8PDmIVHuOPYJ2C4ZNjLN/tr/vz9F4iQVYJ0MmHzZ5qdIgPTow8//rT4qv/68+/nn39oyvCFUKadPCsz0++//4AIUw3YTkacYfv3339cCnC6lrhYIUcjhXbi8ScBneQBMnX++fsXANK4TCVDHpQYAAAAAElFTkSuQmCC") no-repeat;
	}

}


.#{$prefix}form-trigger-wrap-focus {

	/** Trigger style - Focus state */
	.#{$prefix}form-trigger {
		//@include box-shadow(inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6));
		border-color: rgba(82, 168, 236, 0.8) !important;
		background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAWCAIAAACt/zAoAAAACXBIWXMAAAsTAAALEwEAmpwYAAABCklEQVQ4y2P5/OXruw8fGUgB/xkYfvz8ycLBzi4iJMhAIvj79y8LCwszEJGq8////yxA6t///6TqZGJkBOv8R7pOZrDOvyRrZGABI3LsZIDq/E+uzr/k20m2zj+oOqeu2Nq1Yh8jBy8jCxsDI+P/P7/+//ic7mVelRqK6dp/yEIZYZ7sghKdex4xcgmAIv3HpxxrieZou68//3z58ZuAP+OcDRi5hbtPfGZgYMywl2/21wTq+fT9N1EhFGUm85/x2Zff/1p81T//+P3h6y/C/oSDcGNJAS62j99/v/vyE8hlBOcSVJ1//+EKwDeff9AmPv/8+0euzr9k2/mXbDvJ9qeFiiip2v78/QsAyRmDrWsfg0MAAAAASUVORK5CYII=") no-repeat !important;
	}

	/** Trigger style - Active state */
	.#{$prefix}form-trigger:active {
		background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAWCAIAAACt/zAoAAAACXBIWXMAAAsTAAALEwEAmpwYAAABAklEQVQ4y2P5/OXruw8fGUgB/xkYfvz8ycLBzn7vwz8GEoGxvCgLCwszDyc7qTp5uLlYgBQLMxOpOhkZGSE6GRlIB2CdTExk6mRmIttO4vzJCI4PNNcy0t21aDqnr9zWvXI/IwcvIwsbMPj///n1/8fnVE+zypQQTJ0o/syJ9OEQlurc/ZCRSwCU1n58yrGWaI62+/7r79effwj4M8PDmIVHuOPYJ2C4ZNjLN/tr/vz9F4iQVYJ0MmHzZ5qdIgPTow8//rT4qv/68+/nn39oyvCFUKadPCsz0++//4AIUw3YTkacYfv3339cCnC6lrhYIUcjhXbi8ScBneQBMnX++fsXANK4TCVDHpQYAAAAAElFTkSuQmCC") no-repeat !important;
	}
}

/** Trigger style - Disabled state */
.#{$prefix}item-disabled .#{$prefix}form-trigger,
.#{$prefix}item-disabled .#{$prefix}form-trigger:hover,
.#{$prefix}item-disabled .#{$prefix}form-trigger:active {
	@include opacity(0.3);
	background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAWCAIAAACt/zAoAAAACXBIWXMAAAsTAAALEwEAmpwYAAABCklEQVQ4y2P5/OXruw8fGUgB/xkYfvz8ycLBzi4iJMhAIvj79y8LCwszEJGq8////yxA6t///6TqZGJkBOv8R7pOZrDOvyRrZGABI3LsZIDq/E+uzr/k20m2zj+oOqeu2Nq1Yh8jBy8jCxsDI+P/P7/+//ic7mVelRqK6dp/yEIZYZ7sghKdex4xcgmAIv3HpxxrieZou68//3z58ZuAP+OcDRi5hbtPfGZgYMywl2/21wTq+fT9N1EhFGUm85/x2Zff/1p81T//+P3h6y/C/oSDcGNJAS62j99/v/vyE8hlBOcSVJ1//+EKwDeff9AmPv/8+0euzr9k2/mXbDvJ9qeFiiip2v78/QsAyRmDrWsfg0MAAAAASUVORK5CYII=") no-repeat !important;
}
